﻿namespace EyeOpen.IO
{
	using System.IO.Ports;

	public class ChannelConfiguration
	{
		public ChannelConfiguration(string portName, int baudRate, int dataBits, Parity parity, StopBits stopBits)
		{
			PortName = portName;
			BaudRate = baudRate;
			DataBits = dataBits;
			Parity = parity;
			StopBits = stopBits;
		}

		public string PortName { get; private set; }

		public int BaudRate { get; private set; }

		public int DataBits { get; private set; }

		public Parity Parity { get; private set; }

		public StopBits StopBits { get; private set; }
	}
}